package cn.charmaine.org.domain;

import cn.charmaine.basic.base.domain.BaseDomain;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Employee extends BaseDomain {
    private String username;
    private String email;
    private String phone;
    private String salt;     //盐值，用于密码加密
    private String password; //密码
    private Integer age;
    private Integer state;

    private Long department_id;
    private Department department;//部门
    private Long logininfo_id;
    private Logininfo logininfo;
    private Long shop_id;
    private Shop shop;
}
